package com.gensdai.leliang.entity;

import com.bluelinelabs.logansquare.annotation.JsonField;
import com.bluelinelabs.logansquare.annotation.JsonObject;
import com.gensdai.leliang.common.bean.CategoryBean;
import com.gensdai.leliang.entity.parseBean.ProductInfo;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2017/6/9.
 */

@JsonObject
public class HomeBean {

    @JsonField public List<BrandBean> brandList;
    @JsonField public List<ProductInfo> youLikeProduct;
    @JsonField public List<BannerPicBean> bannerPic;
    @JsonField public List<TiyanShopBean> tiyanShop;
    @JsonField public List<ProductInfo> hotProduct;
    @JsonField public List<CategoryBean> categoryList;

    @JsonObject
    public static class BrandBean implements Serializable{
        /**
         * brandName : dabao
         * brandId : 1010
         * brandLogo : 123
         */
        @JsonField public String brandName;
        @JsonField public String brandId;
        @JsonField public String brandNo;
        @JsonField public String brandLogo;

    }
    @JsonObject
    public static class BannerPicBean {
        /**
         * id : e70d7b4569ce4aa9bff9422f06afcf1a
         * logo : e70d7b4569ce4aa9bff9422f06afcf1a
         * url : http://www.kvgou.cn/m/product/product_index_chl.html?chl=866e38dd09f147cc8bbcbdb0c6f91be1&smallTypeId=14bd9764b42c4853806344f0c624ed2b
         */

        @JsonField public String id;
        @JsonField public String logo;
        @JsonField public String url;

    }

    @JsonObject
    public static class TiyanShopBean {
        /**
         * shopName : 活动旗舰店
         * shopId : activityShop
         * shopLogo : null
         */

        @JsonField public String shopName;
        @JsonField public String shopId;
        @JsonField public String shopLogo;

    }
}
